package org.example.decorator;

/**
 * @author
 * @description 具体的Decorator  这里是调味品
 */
public class Chocolate extends Decorator{
    public Chocolate(Drink drink) {
        super(drink);
        setDescription("巧克力");
        setPrice(3.0f);//调味品的价格
    }
}
